<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="/common.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>

	session:
	<span>
		<%
			String lasttime    = session.getAttribute("lasttime").toString();
			String currenttime = session.getAttribute("currenttime").toString();
			if(lasttime==currenttime){
				response.getWriter().write("第一次访问session");
			}else{
				response.getWriter().write("上一次访问的session时间是："+lasttime);
			}
		%>
	
	</span>
</body>
</html>